/*
 * @Description: 
 * @Author: zhangwei
 * @Date: 2023-03-03 15:41:09
 * @LastEditTime: 2023-03-03 15:41:17
 * @LastEditors: zhangwei
 */
import type { App } from 'vue'
import { createPinia } from 'pinia'

const store = createPinia()

export const setupStore = (app: App<Element>) => {
  app.use(store)
}

export { store }
